
function back(){
	setTimeout(()=>{
		uni.navigateBack();
	}, 100)
}

//登录相关
function toForgetPassword(){
	uni.navigateTo({
		url:'/pages/login/forget-password'
	})
}
function toLoginPay(){
	uni.navigateTo({
		url:'/pages/login/login-pay'
	})
}


//home相关
function toHome(){
	uni.switchTab({
		url:'/pages/tab/home',
	})
}

//商城相关
function toMallDetail(){
	uni.navigateTo({
		url:'/pages/mall/detail',
	})
}

//充值相关
function toRecharge(){
	uni.navigateTo({
		url:'/pages/recharge/recharge',
	})
}
function toRechargeNilai(){
	uni.navigateTo({
		url:'/pages/recharge/nilai',
	})
}

//提现相关
function toWithdraw(){
	uni.navigateTo({
		url:'/pages/withdraw/withdraw',
	})
}
function toWithdrawList(){
	uni.navigateTo({
		url:'/pages/withdraw/list',
	})
}

//vip
function toBuyVip(){
	uni.navigateTo({
		url:'/pages/buy-vip/buy-vip',
	})
}

//完成
function toComplete(){
	uni.navigateTo({
		url: '/pages/complete/complete'
	})
}
function toCompleteSuccess(){
	uni.navigateTo({
		url: '/pages/complete/success'
	})
}
function toCompleteList(){
	uni.navigateTo({
		url: '/pages/complete/list'
	})
}

//团队
function toTeamInviation(){
	uni.navigateTo({
		url: '/pages/team/invitaion'
	})
}
//分享
function toShare(){
	uni.navigateTo({
		url: '/pages/share/share'
	})
}
//订单
function toOrderZone50(){
	uni.navigateTo({
		url: '/pages/order/zone-50'
	})
}


export default {
	back,
	//登录相关
	toForgetPassword,
	toLoginPay,
	//home
	toHome,
	//商城相关
	toMallDetail,
	//充值相关
	toRecharge,
	toRechargeNilai,
	//提现相关
	toWithdraw,
	toWithdrawList,
	//vip
	toBuyVip,
	//完成
	toComplete,
	toCompleteSuccess,
	toCompleteList,
	//团队
	toTeamInviation,
	//分享
	toShare,
	//订单
	toOrderZone50
	
}